package config

type Log struct {
	LogFile              string   `mapstructure:"log_file" json:"log_file" yaml:"log_file"`
	LogLevel             string   `mapstructure:"log_level" json:"log_level" yaml:"log_level"`
	LogMaxSize           int      `mapstructure:"log_max_size" json:"log_max_size" yaml:"log_max_size"`
	LogMaxAge            int      `mapstructure:"log_max_age" json:"log_max_age" yaml:"log_max_age"`
	LogMaxBackups        int      `mapstructure:"log_max_backups" json:"log_max_backups" yaml:"log_max_backups"`
	LogCompress          bool     `mapstructure:"log_compress" json:"log_compress" yaml:"log_compress"`
	LogLocalTime         bool     `mapstructure:"log_local_time" json:"log_local_time" yaml:"log_local_time"`
	LogFormat            string   `mapstructure:"log_format" json:"log_format" yaml:"log_format"`
	LogLevels            []string `mapstructure:"log_levels" json:"log_levels" yaml:"log_levels"`
	LogEncode            string   `mapstructure:"log_encode" json:"log_encode" yaml:"log_encode"`
	LogEncodeLevel       string   `mapstructure:"log_encode_level" json:"log_encode_level" yaml:"log_encode_level"`
	LogEncodeTime        string   `mapstructure:"log_encode_time" json:"log_encode_time" yaml:"log_encode_time"`
	LogEncodeDuration    string   `mapstructure:"log_encode_duration" json:"log_encode_duration" yaml:"log_encode_duration"`
	LogEncodeCaller      string   `mapstructure:"log_encode_caller" json:"log_encode_caller" yaml:"log_encode_caller"`
	LogEncodeName        string   `mapstructure:"log_encode_name" json:"log_encode_name" yaml:"log_encode_name"`
	LogEncodeStacktrace  string   `mapstructure:"log_encode_stacktrace" json:"log_encode_stacktrace" yaml:"log_encode_stacktrace"`
	LogEncodeCallerLevel string   `mapstructure:"log_encode_caller_level" json:"log_encode_caller_level" yaml:"log_encode_caller_level"`
	LogEncodeCallerSkip  int      `mapstructure:"log_encode_caller_skip" json:"log_encode_caller_skip" yaml:"log_encode_caller_skip"`
	LogRootDir           string   `mapstructure:"log_root_dir" json:"log_root_dir" yaml:"log_root_dir"`
}
